package cn.bugstack.domain.activity.service;

//抽奖活动订单接口

import cn.bugstack.domain.activity.model.entity.*;

public interface IRaffleActivityAccountQuotaService {
    //以sku创建抽奖活动订单，获得参与抽奖资格
    ActivityOrderEntity createRaffleActivityOrder(ActivityShopCartEntity activityShopCartEntity);

    //创建sku 充值订单， 获得参与抽奖资格
    UnpaidActivityOrderEntity createOrder(SkuRechargeEntity skuRechargeEntity);

    void updateOrder(DeliveryOrderEntity deliveryOrderEntity);

    Integer queryRaffleActivityAccountDayPartakeCount(Long activityId, String userId);

    ActivityAccountEntity queryActivityAccountEntity(Long activityId, String userId);

    Integer queryRaffleActivityAccountPartakeCount(Long activityId, String userId);
}
